Optimal. Leaf size=133 \[ \frac{i}{4 a^2 d \sqrt{a+i a \tan (c+d x)}}-\frac{i \tanh ^{-1}\left (\frac{\sqrt{a+i a \tan (c+d x)}}{\sqrt{2} \sqrt{a}}\right )}{4 \sqrt{2} a^{5/2} d}+\frac{i}{6 a d (a+i a \tan (c+d x))^{3/2}}+\frac{i}{5 d (a+i a \tan (c+d x))^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0771873, antiderivative size = 133, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 3, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.176, Rules used = {3479, 3480, 206} \[ \frac{i}{4 a^2 d \sqrt{a+i a \tan (c+d x)}}-\frac{i \tanh ^{-1}\left (\frac{\sqrt{a+i a \tan (c+d x)}}{\sqrt{2} \sqrt{a}}\right )}{4 \sqrt{2} a^{5/2} d}+\frac{i}{6 a d (a+i a \tan (c+d x))^{3/2}}+\frac{i}{5 d (a+i a \tan (c+d x))^{5/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3479
Rule 3480
Rule 206
Rubi steps
\begin{align*} \int \frac{1}{(a+i a \tan (c+d x))^{5/2}} \, dx &=\frac{i}{5 d (a+i a \tan (c+d x))^{5/2}}+\frac{\int \frac{1}{(a+i a \tan (c+d x))^{3/2}} \, dx}{2 a}\\ &=\frac{i}{5 d (a+i a \tan (c+d x))^{5/2}}+\frac{i}{6 a d (a+i a \tan (c+d x))^{3/2}}+\frac{\int \frac{1}{\sqrt{a+i a \tan (c+d x)}} \, dx}{4 a^2}\\ &=\frac{i}{5 d (a+i a \tan (c+d x))^{5/2}}+\frac{i}{6 a d (a+i a \tan (c+d x))^{3/2}}+\frac{i}{4 a^2 d \sqrt{a+i a \tan (c+d x)}}+\frac{\int \sqrt{a+i a \tan (c+d x)} \, dx}{8 a^3}\\ &=\frac{i}{5 d (a+i a \tan (c+d x))^{5/2}}+\frac{i}{6 a d (a+i a \tan (c+d x))^{3/2}}+\frac{i}{4 a^2 d \sqrt{a+i a \tan (c+d x)}}-\frac{i \operatorname{Subst}\left (\int \frac{1}{2 a-x^2} \, dx,x,\sqrt{a+i a \tan (c+d x)}\right )}{4 a^2 d}\\ &=-\frac{i \tanh ^{-1}\left (\frac{\sqrt{a+i a \tan (c+d x)}}{\sqrt{2} \sqrt{a}}\right )}{4 \sqrt{2} a^{5/2} d}+\frac{i}{5 d (a+i a \tan (c+d x))^{5/2}}+\frac{i}{6 a d (a+i a \tan (c+d x))^{3/2}}+\frac{i}{4 a^2 d \sqrt{a+i a \tan (c+d x)}}\\ \end{align*}
Mathematica [A] time = 0.704971, size = 137, normalized size = 1.03 \[ \frac{i e^{-6 i (c+d x)} \left (1+e^{2 i (c+d x)}\right )^{3/2} \sec ^2(c+d x) \left (\sqrt{1+e^{2 i (c+d x)}} \left (11 e^{2 i (c+d x)}+23 e^{4 i (c+d x)}+3\right )-15 e^{5 i (c+d x)} \sinh ^{-1}\left (e^{i (c+d x)}\right )\right )}{240 a^2 d \sqrt{a+i a \tan (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.017, size = 97, normalized size = 0.7 \begin{align*}{\frac{2\,ia}{d} \left ( -{\frac{\sqrt{2}}{16}{\it Artanh} \left ({\frac{\sqrt{2}}{2}\sqrt{a+ia\tan \left ( dx+c \right ) }{\frac{1}{\sqrt{a}}}} \right ){a}^{-{\frac{7}{2}}}}+{\frac{1}{8\,{a}^{3}}{\frac{1}{\sqrt{a+ia\tan \left ( dx+c \right ) }}}}+{\frac{1}{12\,{a}^{2}} \left ( a+ia\tan \left ( dx+c \right ) \right ) ^{-{\frac{3}{2}}}}+{\frac{1}{10\,a} \left ( a+ia\tan \left ( dx+c \right ) \right ) ^{-{\frac{5}{2}}}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.21909, size = 863, normalized size = 6.49 \begin{align*} \frac{{\left (-15 i \, \sqrt{\frac{1}{2}} a^{3} d \sqrt{\frac{1}{a^{5} d^{2}}} e^{\left (6 i \, d x + 6 i \, c\right )} \log \left ({\left (2 \, \sqrt{\frac{1}{2}} a^{3} d \sqrt{\frac{1}{a^{5} d^{2}}} e^{\left (2 i \, d x + 2 i \, c\right )} + \sqrt{2} \sqrt{\frac{a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}}{\left (e^{\left (2 i \, d x + 2 i \, c\right )} + 1\right )} e^{\left (i \, d x + i \, c\right )}\right )} e^{\left (-i \, d x - i \, c\right )}\right ) + 15 i \, \sqrt{\frac{1}{2}} a^{3} d \sqrt{\frac{1}{a^{5} d^{2}}} e^{\left (6 i \, d x + 6 i \, c\right )} \log \left (-{\left (2 \, \sqrt{\frac{1}{2}} a^{3} d \sqrt{\frac{1}{a^{5} d^{2}}} e^{\left (2 i \, d x + 2 i \, c\right )} - \sqrt{2} \sqrt{\frac{a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}}{\left (e^{\left (2 i \, d x + 2 i \, c\right )} + 1\right )} e^{\left (i \, d x + i \, c\right )}\right )} e^{\left (-i \, d x - i \, c\right )}\right ) + \sqrt{2} \sqrt{\frac{a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}}{\left (23 i \, e^{\left (6 i \, d x + 6 i \, c\right )} + 34 i \, e^{\left (4 i \, d x + 4 i \, c\right )} + 14 i \, e^{\left (2 i \, d x + 2 i \, c\right )} + 3 i\right )} e^{\left (i \, d x + i \, c\right )}\right )} e^{\left (-6 i \, d x - 6 i \, c\right )}}{120 \, a^{3} d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\left (i a \tan{\left (c + d x \right )} + a\right )^{\frac{5}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{{\left (i \, a \tan \left (d x + c\right ) + a\right )}^{\frac{5}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]